package com.yuedou.api.entity.wxuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuedou.api.entity.mer.Mer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName(value = "user_collection")
public class UserCollection implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer userId;

    private Integer merId;

    private Integer skuId;

    private Integer productId;

    private Integer state;

    private Integer collectionType;

    @TableField(exist = false)
    private String productName;

    @TableField(exist = false)
    private Mer mer;

    @TableField(exist = false)
    private String sku_attr_text;

    @TableField(exist = false)
    private BigDecimal price;

    @TableField(exist = false)
    private BigDecimal oldPrice;

    @TableField(exist = false)
    private String imgUrl;
}
